import java.util.Scanner;

public class q31 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int a = 1;
        double c=0;
        while (a <11) {
            System.out.println("请输入第" + a + "个字");
            double b =input.nextDouble();
            a++;
            c+=b;

        }
        System.out.println("总和为"+c);

    }
}
